package ClassTwo;

import java.util.Date;

/**
 * @author gao
 * @date 2025/6/3 20:38
 */

public class Alarm {
    //状态
    public String time;
    public String mode;

    //获取时间
    public String getTime() {
        return time;
    }

    //修改时间
    public void setTime(String time) {
        this.time = time;
    }

    public static void main(String[] args) {
        Alarm alarm1 = new Alarm();
        Alarm alarm2 = new Alarm();
        Alarm alarm3 = new Alarm();

        alarm1.time = "20:38";
        System.out.println(alarm1.getTime());
    }
}